<?php


namespace app\cms\model\merchant\goods;


use app\cms\community\lib\QueryModel;

class goodsSukModel extends QueryModel
{

    protected $table = "goods_suk_table";

    public function getGoodsSuk(int $goods_id): array
    {
        return $this->where([
            'goods_id' => $goods_id,
            'status' => 1
        ]) -> select() -> toArray();
    }

}